import javax.swing.*;

public class FenetreDScores extends JDialog {
   ScorePanel p;
 public FenetreDScores(JFrame f){
    super(f);
    setTitle("Meilleurs Scores");
    setBounds(400,200,400,200);
    p=new ScorePanel ();
    setResizable(false);
    getContentPane().add(p);
    show();
    p.repaint();

  }

}
